﻿using System;
using System.Web;
using System.Web.UI.HtmlControls;
using AnyOffice.Components;
using AnyOffice.DAL;
namespace AnyOffice.general.system.netdisk
{
    public partial class delete : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.Page.IsPostBack)
            {
                int num = (Request.QueryString["disk_id"] == null) ? 0 : int.Parse(Request.QueryString["disk_id"].ToString());
                new NetdiskDao().Delete(base.Conn, num);
                base.CloseConn();
                Response.Redirect("index.aspx");
            }
        } 

    }
}
